import json
import os

from core.config import settings


def load_dataset():
    filename: str = "offer_request_dataset.json"
    full_path = os.path.join(settings.offer_request_path, filename)

    with open(full_path, "r", encoding="utf-8") as file:
        data = json.load(file)

    return data
